 
/* MAIN.C file

 	Author:WhBoy-qiwu
 	QQ:270907714
 	E-Mail:270907714@qq.com
 	VER:1.0
 */

#include "stm8s_conf.h"



Comm_EXT COMM_PARA Comm_Para;
SYSTEM_PARA System_Para;

void ENABLE_INTERRUPT(void)
{
	enableInterrupts() ;//enable interrupt
}

SEND_AUTHCODE AuthCodeTest;

void main(void)
{
	system_init();
	SendAuthCode_Init(&AuthCodeTest);
	SP_INIT(&(System_Para.sp_thd));
	TimeOutDet_Init();
	ENABLE_INTERRUPT();
	while(1)
	{	
		
	}
}


